package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class CutomerTransfer {
    private Long id;

    //客户
    private Client customer;

    //移交人员
    private Employee transUser;

    //移交时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transTime;

    //老市场专员
    private Employee oldSeller;

    //新市场专员
    private Employee newSeller;

    //移交原因
    private String transReason;
}